
<form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">

    <div class="panel panel-default panel-intro">
      <div class="panel-heading">
          <ul class="nav nav-tabs">
              <li class="active"><a href="#a1" data-toggle="tab">{:__('发布活动')}</a></li>
          </ul>
      </div>

      <div class="panel-body">
          <div id="myTabContent" class="tab-content">

              <div class="tab-pane active" id="a1">

                  <div class="form-group">
                      <label for="type" class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
                      <div class="col-xs-12 col-sm-8">
                          {$groupList}
                      </div>
                  </div>

                  <div class="form-group">
                      <label for="title" class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
                      <div class="col-xs-12 col-sm-8">
                          <input type="text" class="form-control" id="type" name="row[title]" value="" data-rule="required;title"/>
                      </div>
                  </div>


              </div>


          </div>
      </div>

    </div>


    <!-- 活动所在群
    活动地址

    LOGO
    活动开始时间
    活动结束时间
    群TELEGRAM链接地址
    邀请奖励
    邀请奖励单位
    活动结束文案
    活动备注


    标题 *
    加入群文案 *
    输入钱包地址文案 *
    描述 *
    活动细则 *
    底部文案 * -->


<!--
    <div class="form-group hide" id="row_file">
        <label for="c-local" class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button id="plupload-local" class="btn btn-primary plupload" data-input-id="c-local" data-url="{:url('ajax/upload')}"><i class="fa fa-upload"></i> {:__("Upload to local")}</button>
        </div>
    </div> -->


    <div class="form-group hidden layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
